
.el-submenu .el-tree-item {
  padding: 0 20px;
  min-width: 160px;
  padding-left: 20px !important;

  &:hover { // 美化左侧导航的留白
    background: green;
  }
}

// 改变元素属性，要不动画效果不管用，是不是很厉害啊？哈哈哈
.rythm.twist1 {
  display: block;
}

//tree ------ https://www.jianshu.com/p/b371db8fe66a

.tree-container {
  display: flex;
  padding: 10px 5px;
  border: 0px solid blue;
  width: 100%;
  height: 100%;
  .tree-container-right {
  }
  .tree-container-left {
    height: 100%;
    //overflow: auto;
    //overflow: hidden;
    border: 1px solid #eaecf0;
    border-radius: 5px;
    .happy-scroll-content {
      height: 100%;
      width: 98%;
    }

    .el-scrollbar {
      transition: width 0.28s;
      width: 100% !important;
      height: 100%;
      z-index: 1001;

      .el-scrollbar__wrap {
        overflow-x: hidden;
      }
    }
  }
}




.el-tree {
  /*background: #fdf4df;*/
  border-radius: 5px;
  color: #476094;
  width: 100%;
  //height: calc(100vh - 88px); //不能写高度
  //border: 1px solid blueviolet;

  .el-tree-node {
    /*border: 1px solid;*/
    padding: 2px;

    .el-tree-node__label {
      font-size: 20px;
    }

    .el-tree-node__content > .el-checkbox {
      margin-right: 1px;
    }

    .el-tree-node__content {
      height: 25px !important;
      border: 1px crimson;
      cursor: pointer;

      .custom-tree-node {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 18px;
        padding-right: 8px;

        .nodespan {
          span {
            color: red;
            display: inline-block;
            width: 150px;
            /*border:1px solid red;*/
          }

          i {
            display: inline-block;
            width: 20px;
            text-align: center;
          }
        }
      }
    }
  }
}

.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  background-color: #fdf6b7;
}

/*table tbCode1*/
.list {
  /*position: absolute;*/
  width: 100%;
  height: 75vh;
  /*border: 1px solid;*/
  top: 0;
  bottom: 0;
  border: 1px dotted grey;
  border-radius: 3px;
  /*left: 0;*/
  overflow: hidden;

  .el-scrollbar {
    height: 100%;

    .el-scrollbar__wrap {
      overflow: scroll;
      overflow-x: hidden !important;
    }
  }
}

.el-scrollbar__bar {
  z-index: 1000 !important;
}

.app-container {
  padding: 0px;
}

/*table 换色*/
.el-table .warning-row {
  background: oldlace;
}

.el-table .success-row {
  background: #f0f9eb;
}
